package com.xm.settlement.mapper;

import com.baomidou.mybatisplus.mapper.AutoMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.xm.settlement.model.AppUser;
import com.xm.settlement.model.User;
import com.xm.settlement.model.vo.AppUserVo;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/2/7.
 */
public interface AppUserMapper extends AutoMapper<AppUser> {

    List<User> selectUserVoList(Page<User> page, Map<String, Object> condition);

    /**
     * 修改一级密码
     * */
    void updateAppUserByParam(AppUser appUser);

    /**
     * 查询用户列表
     * */
    List<AppUserVo> selectUserVoList();

    List<AppUserVo> getChildrenNodeByParentVipCodeList(String vip_code);

    List<AppUserVo> selectUserVoListByParam(AppUserVo appUserVo);

}
